package pl.register.android.activities.correlation.ui;

import android.view.View;
import android.widget.Button;
import pl.register.android.activities.correlation.logic.Correlation;
import pl.register.android.course.Course;
import pl.register.android.group.GroupType;
import pl.register.android.group.StudentsGroup;
import pl.register.android.lesson.LessonProgram;
import pl.register.android.lesson.TagLesson;
import pl.register.android.student.Student;
import pl.register.android.year.Year;
import pl.register.android.year.YearType;

import java.util.List;

/**
 * @author Mateusz Strzelecki
 * @since 2013-04-13
 */
public interface CorrelationView {

    void populateCourse(String startYear, String endYear);

    void populateCorrelations(List<Correlation> correlations);

    Correlation settleCorrelationBy(YearType yearType);

    void populateTable(Correlation correlation);

    void startStudentProfileActivity(Student student, Year year);

    void showDeleteStudentConfirmationDialog(Student toRemove, StudentsGroup studentGroup);

    void showDeleteLessonProgramConfirmationDialog(LessonProgram toRemove);

    void showClassesScheduleDialog(LessonProgram lessonProgram, Button btnSchedule);

    void showHomeworkScheduleDialog(LessonProgram lessonProgram, Button btnSchedule);

    void showLoadLastCourseDialog(Course course);

    View getHeadersView();

    View getHolidayHeadersView();

    void refreshTitle(TagLesson tag, Course course);
}
